#pragma once

#include <typedef.h>
//
#include <buff_fifo.hpp>
#include <protocol.hpp>
//
#include <udp_recver.hpp>

class FlightControllerUdpFData : public UdpRecverClient
{
public:
	FlightControllerUdpFData();
	virtual ~FlightControllerUdpFData();

	void RecvData(char* data, int size);

private:
	BuffFifo m_BuffFifo;
	Protocol m_Protocol;
	uint16_t m_DataSeqRecv;
	uint16_t m_DataTypeRecv;
	int m_SizeRecv;
	char* m_BuffRecv;
};
